package com.example.bookstore.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.bookstore.common.PageResult;
import com.example.bookstore.common.Result;
import com.example.bookstore.dto.QueryCartParamsDto;
import com.example.bookstore.entity.Collect;

import java.util.List;

public interface CollectService extends IService<Collect> {


    Result deleteCollect(Integer id,int userId);

    Result<String> isCollected(Integer id,int userId);

    PageResult<Collect> selectcollect(int pageSize, int currentPage, QueryCartParamsDto params);

}
